<%-- 
    Document   : removeUtente
    Created on : 5-lug-2010, 8.56.01
    Author     : gorthy
--%>

<%@page import="Entity.Utente"%>
<%@page contentType="text/html" pageEncoding="UTF-8" import="Other.Constant"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@ page import="Entity.*" %>
<%@ page import="Other.Constant" %>
<%@page import="java.util.List"%>
<%
            if (session.isNew() == true || session.getAttribute("user") == null) {
                session.setAttribute("error", "pagina disponibile solo per gli utenti registrati");
                response.sendRedirect("./error.jsp");
            }

            Utente u = (Utente) session.getAttribute("user");%>
<html>
    <head>
        <link rel="stylesheet" type="text/css" href="./css/style2.css" media="screen">
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Elimina account</title>
    </head>
    <body>
        <div id="wrapper">

            <div id="header">
                <div id="logo">
                    <h1>holidaysrooms</h1>
                </div>
            </div>
            <!-- end #header -->
            <div id="page">
                <div id="page-bgtop">
                    <div id="page-bgbtm">
                        <div id="content">

                            <form method="POST" action="./Servlet">
                                <center><table border="0" cellpadding="0" cellspacing="0" width="200">
                                        <tr>
                                            <td width="50%" colspan="2" align="center">
                                                <input type="submit" value="Elimina utente">
                                            </td>
                                        </tr>
                                    </table></center>
                                <input type="hidden" name="azione" value="<%=Constant.REMOVEUTENTE%>">
                            </form>

                            <div style="clear: both;">&nbsp;</div>
                        </div>
                        <%@include file="/WEB-INF/jspf/menu.jspf" %>
                    </div>
                </div>
            </div>
            <!-- end #page -->

        </div>
        <div id="footer">
            <p>Copyright (c) 2010 www.holydaysrooms.com. All rights reserved. Design by <a href="http://www.freecsstemplates.org/">Free CSS Templates</a>.</p>
        </div>
        <!-- end #footer -->
    </body>

</html>
